package com.jerry.controller;

import org.hibernate.annotations.SourceType;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.Serializable;
import java.util.Arrays;

/**
 * Created by Shirly on 2016/8/15.
 */
public class Yser implements Serializable {
//    public static interface OnlyIdView {}
//    public static interface OnlyNameView {}
//    public static interface AllView extends OnlyIdView, OnlyNameView {}
//
//    public Yser(Long id, String name) {
//        this.id = id;
//        this.name = name;
//    }
//
//    @JsonView(OnlyIdView.class)
//    private Long id;
//
//    @JsonView(OnlyNameView.class)
//    private String name;
public static void main(String[] args) {
//    String a = "InfluenceAcerDTO";
//    String[] b =a.split(",");
//    System.out.println(a);
    ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath:mvc-dispatcher-servlet.xml");
    System.out.println("-------------"+ Arrays.toString(ctx.getBeanDefinitionNames()));
}


}
